package com.hl.ruoyilkshop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品规格对象 goods_specs
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class GoodsSpecs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格ID */
    private Integer goodsSpecId;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String goodsSpecName;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Integer businessId;

    /** 规格值（用于搜索） */
    private String specsValue;

    public void setGoodsSpecId(Integer goodsSpecId) 
    {
        this.goodsSpecId = goodsSpecId;
    }

    public Integer getGoodsSpecId() 
    {
        return goodsSpecId;
    }

    public void setGoodsSpecName(String goodsSpecName) 
    {
        this.goodsSpecName = goodsSpecName;
    }

    public String getGoodsSpecName() 
    {
        return goodsSpecName;
    }

    public void setBusinessId(Integer businessId) 
    {
        this.businessId = businessId;
    }

    public Integer getBusinessId() 
    {
        return businessId;
    }

    public void setSpecsValue(String specsValue) 
    {
        this.specsValue = specsValue;
    }

    public String getSpecsValue() 
    {
        return specsValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsSpecId", getGoodsSpecId())
            .append("goodsSpecName", getGoodsSpecName())
            .append("businessId", getBusinessId())
            .append("specsValue", getSpecsValue())
            .toString();
    }
}
